<form id="pagerForm" method="post" action="{:U($module_name.'/'.$action_name."?model=".$model)}">
    <input type="hidden" name="pageNum" value="{$pageNum}" />
    <input type="hidden" name="numPerPage" value="{$numPerPage}" />
    <input type="hidden" name="orderField" value="{$orderField}" />
    <input type="hidden" name="orderDirection" value="{$orderDirection}" />
</form>
<div class="pageHeader">
    <form rel="pagerForm" onsubmit="return navTabSearch(this);" action="{:U($module_name.'/'.$action_name)}" method="post">
		<table  class="search_table" width="100%">
		<tr>
			<td>	
				<div class="searchBar">
					<ul class="searchContent">
						<li style="width:210px;">
							<label style="width:50px;">关键字：</label>
							<input type="text" name="keyword"  class="input-text" value="{$keyword}"/>
						</li>
						<li style="width:80px;">
							<select name="searchtype">
							<option value="userid" <eq name="searchtype" value="userid">selected="selected"</eq>>用户ID</option>
							
							<option value="id" <eq name="searchtype" value='id'>selected="selected"</eq>>ID</option>
							<option value="only" <eq name="searchtype" value='only'>selected="selected"</eq>>返款标识</option>
							</select>
						</li>
						<li style="width:80px;">
							<select id="status" name="mon">
							<option value="">选择月份</option>
							<for start='1' end='13'>
							<option value="{$i}" <eq name="where['mon']" value="$i">selected="selected" </eq> >{$i}</option>
							</for>
							</select>
						</li>
						<input type="hidden" name="only" value="{$where['only']}" />
						<div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
					</ul>
				</div>
			</td>
		</tr>
		</table>
	</form>
    

</div>

<div class="pageContent">
    <div id="w_list_print">
        <table class="list" width="100%" targetType="navTab" asc="asc" desc="desc" layoutH="94">
             <thead>
      		<tr>
      		<th width="20"><input type="checkbox"  id="check_box"  onclick="selectall('ids[]');" /></th>
			<th width="40" orderField="id" {if $orderField=='id'}class="{$orderDirection}"{/if}>ID</th>
            <th width="50" orderField="userid" {if $orderField=='userid'}class="{$orderDirection}"{/if}>用户</th>
			<th width="80" orderField="mon" {if $orderField=='mon'}class="{$orderDirection}"{/if}>月份</th>	
			<th width="40" orderField="addoedu" {if $orderField=='addoedu'}class="{$orderDirection}"{/if}>到账额度</th>
			<th width="60" orderField="oldoedu" {if $orderField=='oldoedu'}class="{$orderDirection}"{/if}>之前余额</th>	
            <th width="120" orderField="nowoedu" {if $orderField=='nowoedu'}class="{$orderDirection}"{/if}>到账后余额</th>	
			<th width="100" orderField="createtime" {if $orderField=='createtime'}class="{$orderDirection}"{/if}>创建时间</th>
      		</tr>
      	</thead>
        <tbody>
			<volist name="list" id="vo" key="k">
      		<tr>
      		<td align="center"><input type="checkbox" name="ids[]" value="{$vo['id']}" /></td>
			<td align="center">{$vo['id']}</td>
      		<td align="center">{$vo['userid']}({$userdata[$vo['userid']]['username']})</td>
            <td align="center">{$vo['mon']}</td>
			<td align="center">{$vo['addoedu']/100}</td>
      		<td align="center">{$vo['oldoedu']/100}</td>
      		<td align="center">{$vo['nowoedu']/100}</td>    		
			<td align="center">{$vo['createtime']|date='Ymd H:i:s',###}</td>
            </tr>
			</volist>
      	</tbody>
        </table>
    </div>

    <div class="panelBar" >
        <div class="pages">
            <span>显示 </span>
            <select name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
                <option value="20" {if $numPerPage==20}selected="selected"{/if}>20</option>
                <option value="50" {if $numPerPage==50}selected="selected"{/if}>50</option>
                <option value="100" {if $numPerPage==100}selected="selected"{/if}>100</option>
                <option value="200" {if $numPerPage==200}selected="selected"{/if}>200</option>
            </select>
            <span> 条，共 {$totalCount} 条</span>
        </div>

        <div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="{$pageNumShown}" currentPage="{$currentPage}"></div>

    </div>
</div>
